<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="shortcut icon" href="<?=base_url();?>assets/ico/favicon.png">

<title><?= $template['title'];?></title>
<?= $template['metadata'];?>
<?= $this->settings_model->getSetting('google_analytics');?>
<?= $this->settings_model->getSetting('state_counter_code');?>

<!-- Bootstrap core CSS -->
<link href="<?=base_url();?>assets/css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="<?=base_url();?>assets/css/theme.css" rel="stylesheet">
<link href="<?= base_url();?>assets/css/jquery-ui.css" rel="stylesheet">
<link href="<?= base_url();?>assets/css/social_widget.css"
	rel="stylesheet">

</head>

<body data-baseurl="<?= base_url(); ?>">
	<?php
	if (isset($template['partials']['nav_bar']))
		echo $template['partials']['nav_bar'];
	?>

	<div class="container">

		<div class="page-header col-lg-12">
			<?php
			if (isset($template['partials']['header_search']))
				echo $template['partials']['header_search'];
			?>

		</div>
		<!-- /.Page Header -->
	</div>
	<!-- /.container -->


	<div class="container">

		<div class="col-lg-8">


			<div id="carousel-example-generic"
				class="carousel slide margin-bottom">
				<!-- Wrapper for slides -->
				<div class="carousel-inner">

					<?php 
					if($this->commoncall->getModuleSlider('Slider Banner') == '51'){
						echo Modules::run('banner/banner/slider');
					}
					?>
				</div>


				<!-- Controls -->
				<a class="left carousel-control" href="#carousel-example-generic"
					data-slide="prev"> <span class="icon-prev"></span>
				</a> <a class="right carousel-control"
					href="#carousel-example-generic" data-slide="next"> <span
					class="icon-next"></span>
				</a>
			</div>
			<!-- /example -->




			<div class="module clearfix">
				<h2 class="text-black">
					<?= lang('front.view.lawyers.by.practice.area');?>
				</h2>

				<ul class="list-unstyled">
					<?php if($category){?>

					<?php foreach ($category as $category):?>
					<li class="col-xs-4"><a
						href="<?=base_url();?>browse/practice/<?= $this->commoncall->url($category->name); ?>-<?= $category->id; ?>"
						title="<?= $category->name; ?>"><?= ucwords(substr($category->name,0,30)); ?>
					</a></li>
					<?php endforeach;?>

					<li class="col-xs-offset-8 col-xs-8"><a
						href="<?= base_url(); ?>category/all"><span
							class="glyphicon glyphicon-plus text-danger"></span> <span
							class="text-primary"><?= lang('front.all.practice.area');?> </span>
					</a>
					</li>

					<?php }else{?>

					<div class="alert alert-warning">
						<strong><?= lang('front.sorry');?> </strong>
						<?= lang('front.no.data.found');?>
					</div>
					<?php }?>
				</ul>
			</div>

			<?php 
			if($this->commoncall->getModule('Featured Listing') == '51'){
				echo Modules::run('featured/featured/showHomePage',$limit=6);
			}
			?>

			<div class="module clearfix">
				<h2 class="text-black">
					<?= lang('front.view.lawyers.by.state');?>
				</h2>
				<ul class="list-unstyled">
					<?php if($state){?>

					<?php foreach ($state as $state):?>
					<li class="col-xs-4"><a
						href="<?=base_url();?>browse/region/<?= $this->commoncall->url($state->statename);?>-<?= $state->id; ?>"
						title="<?= $state->statename; ?>"><?= substr($state->statename,0,30); ?>
					</a></li>
					<?php endforeach;?>

					<li class="col-xs-offset-8 col-xs-8"><a
						href="<?= base_url(); ?>location/region/all"><span
							class="glyphicon glyphicon-plus text-danger"></span> <span
							class="text-primary"><?= lang('front.all.state');?> </span> </a>
					</li>

					<?php }else{?>

					<div class="alert alert-warning">
						<strong><?= lang('front.sorry');?> </strong>
						<?= lang('front.no.data.found');?>
					</div>
					<?php }?>
				</ul>
			</div>

			<div class="module clearfix">
				<h2 class="text-black"> <?= lang('front.view.lawyers.by.top.cities');?>
				</h2>

				<ul class="list-unstyled">

					<?php if($city){?>

					<?php foreach ($city as $city):?>
					<li class="col-xs-4"><a
						href="<?=base_url();?>browse/city/<?= $this->commoncall->url($city->cityname);?>-<?= $city->id; ?>"
						title="<?= $city->cityname; ?>"><?= substr($city->cityname,0,30); ?>
					</a>
					</li>
					<?php endforeach;?>

					<li class="col-xs-offset-8 col-xs-8"><a
						href="<?= base_url(); ?>location/region/all"><span
							class="glyphicon glyphicon-plus text-danger"></span> <span
							class="text-primary"><?= lang('front.all.city');?> <small
								class="text-muted"> <?= lang('front.state.wise');?>
							</small> </span> </a></li>

					<?php }else{?>

					<div class="alert alert-warning">
						<strong><?= lang('front.sorry');?> </strong>
						<?= lang('front.no.data.found');?>
					</div>
					<?php }?>

				</ul>
			
			</div>

			<!-- START OF TAB -->
			<ul id="myTab2" class="nav nav-tabs">
				<li class="active"><a href="#sale" data-toggle="tab"> <strong>BUSINESS
						FOR SALE</strong></a></li>
				<li><a href="#job" data-toggle="tab"><strong>BARBER JOBS</strong></a></li>
			</ul>

			<div id="myTabContent2" class="tab-content" style="border-left:1px solid #dfdfdf">
				<div class="tab-pane padding fade in active" id="sale">
					<?php foreach($sale as $sale):?>
					<div class="clearfix border-bottom margin-bottom">
						<div class="col-lg-2">
						 <img class="img-responsive" src="<?= base_url();?>assets/images/sale/<?= $sale->image1;?>"	alt="" title="" >
		
		</div>				
						 
						
						
						<div class="col-lg-7">
							<div class="font16 strong padding-bottom"><a href="<?= base_url();?>sale/<?= $this->commoncall->url($sale->title);?>-<?= $sale->id;?>" class="text-danger"><?= $sale->title;?></a></div>
							<p><?= $sale->description;?> </p>
						</div>
						<div class="col-lg-3 text-right ">
							<p class="font16 strong"><?= $this->settings_model->get_web_configuration('currency');?> <?= $sale->price;?></p>
							<p><a href="#" class="btn btn-xs btn-danger">Contact Seller</a></p>
							</div>
							
					</div>
					<?php endforeach;?>
					
					<!-- <div class="clearfix border-bottom margin-bottom">
						<div class="col-lg-2">
						 <img class="img-responsive" src="<?= base_url();?>assets/images/sale/ads1.jpg"	alt="" title="" >
						</div>
						<div class="col-lg-7">
							<div class="font16 strong padding-bottom"><a href="#" class="text-danger">Wel maintained Barber shop for Sale in Washington</a></div>
							<p>Commuting by Mumbai locals can be a daunting experience for not just a first-time traveller but even for a regular commuter going to a newer destination. </p>
						</div>
						<div class="col-lg-3 text-right ">
							<p class="font16 strong">$ 12,3521</p>
							<p><a href="#" class="btn btn-xs btn-danger">Contact Seller</a></p>
							</div>
					</div>
					
					<div class="clearfix border-bottom margin-bottom">
						<div class="col-lg-2">
						 <img class="img-responsive" src="<?= base_url();?>assets/images/sale/ads2.jpg"	alt="" title="" >
						</div>
						<div class="col-lg-7">
							<div class="font16 strong padding-bottom"><a href="#" class="text-danger">Wel maintained Barber shop for Sale in Washington</a></div>
							<p>Commuting by Mumbai locals can be a daunting experience for not just a first-time traveller but even for a regular commuter going to a newer destination. </p>
						</div>
						<div class="col-lg-3 text-right ">
							<p class="font16 strong">$ 12,3521</p>
							<p><a href="#" class="btn btn-xs btn-danger">Contact Seller</a></p>
							</div>
					</div>
					
					<div class="clearfix border-bottom margin-bottom">
						<div class="col-lg-2">
						 <img class="img-responsive" src="<?= base_url();?>assets/images/sale/ads3.gif"	alt="" title="" >
						</div>
						<div class="col-lg-7">
							<div class="font16 strong padding-bottom"><a href="#" class="text-danger">Wel maintained Barber shop for Sale in Washington</a></div>
							<p>Commuting by Mumbai locals can be a daunting experience for not just a first-time traveller but even for a regular commuter going to a newer destination. </p>
						</div>
						<div class="col-lg-3 text-right ">
							<p class="font16 strong">$ 12,3521</p>
							<p><a href="#" class="btn btn-xs btn-danger">Contact Seller</a></p>
							</div>
					</div>
					
					<div class="clearfix border-bottom margin-bottom">
						<div class="col-lg-2">
						 <img class="img-responsive" src="<?= base_url();?>assets/images/sale/ads4.jpg"	alt="" title="" >
						</div>
						<div class="col-lg-7">
							<div class="font16 strong padding-bottom"><a href="#" class="text-danger">Wel maintained Barber shop for Sale in Washington</a></div>
							<p>Commuting by Mumbai locals can be a daunting experience for not just a first-time traveller but even for a regular commuter going to a newer destination. </p>
						</div>
						<div class="col-lg-3 text-right ">
							<p class="font16 strong">$ 12,3521</p>
							<p><a href="#" class="btn btn-xs btn-danger">Contact Seller</a></p>
							</div>
					</div>
					 -->
					
				
				</div>
				
				<div class="tab-pane padding fade" id="job">JOBS</div>
			</div>


			<!-- END OF TAB -->


			

		</div>

		<div class="col-lg-4">

			<?php 
			if($this->commoncall->getModule('Banner') == '51'){
				echo Modules::run('banner/banner/show',$page='INDEX');
			}
			?>

			<?php 
			if($this->commoncall->getModule('Recent Listing') == '51'){
				echo Modules::run('recent/recent/showListing',$cityID=0,$limit=5);
			}
			?>

			<?php 
			if($this->commoncall->getModule('News') == '51'){
				echo Modules::run('news/news/index');
			}
			?>

		</div>

	</div>
	<!-- /.container -->


	<div class="footer">

		<?php echo Modules::run('static/page/footer',$pos=2); ?>

	</div>
	<!-- /.footer1 -->

	<div class="footer2">
		<div class="container">
			<ul class="list-unstyled list-inline pull-right">
				<li><?= $this->settings_model->get_web_configuration('footer_area');?></li>
				
			</ul>

		</div>
	</div>


	<!-- Bootstrap core JavaScript
    ================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->
	<script src="<?= base_url();?>assets/js/jquery-1.10.1.min.js"></script>
	<script src="<?=base_url();?>/assets/js/jquery.js"></script>
	<script src="<?=base_url();?>/assets/js/respond.min.js"></script>
	<script src="<?=base_url();?>/assets/js/bootstrap.min.js"></script>
	<script src="<?= base_url();?>assets/js/jquery-ui-1.10.3.custom.js"></script>
	<script src="<?=base_url();?>/assets/js/law.js"></script>



</body>
</html>
